Quickstart Pre‑installation Checklist
Preparing a database
Quickstart requires a running MySQL database of version 8.4.2 or higher. You can choose to run MySQL DB locally on the same desktop or laptop where the Quickstart setup needs to be installed.
-
If running locally, first extract the CAM LE package on your local machine. This is required to bring up the Cloud API Management - Local Edition DB with the pre-packaged schema.
-
If you are using a remote MySQL. i.e., outside the Docker context, then set up the MySQL database. Refer to Preparing a database in the Installation Guide for more information.
Running MySQL 8 container in local docker context
Procedure
-
Select to set up the environment or skip, depending on whether you are using Minikube or Rancher Desktop.
-
If using
minikube, unset the Docker environment to reset the Docker context. This ensures MySQL runs outside theminikubecontext.eval $(minikube -p <MINIKUBE_PROFILE_NAME> docker-env -u)For example,
eval $(minikube -p "minikube" docker-env -u) -
If using
rancherdesktop, you can skip the environment setup step because it is Docker-compatible.
-
-
Run the MySQL 8 container.
docker run -d -e MYSQL_USER=<DML USER NAME> -e MYSQL_PASSWORD=<DML USER PASSWORD> -e MYSQL_ROOT_PASSWORD=<DDL_USER_PASSWORD> -e MYSQL_DATABASE=masherysolar --name=<CONTAINER_NAME> -p <mapped port>:3306 -v </path/to/data/directory>:/var/lib/mysql -v </path/to/camle-extracted/directory>/scripts/db:/docker-entrypoint-initdb.d mysql:8.4.2For example,
mkdir -p <user/home/directory>/work/mysql-datadocker run -d -e MYSQL_USER=masheryonprem -e MYSQL_PASSWORD=<DML user password> -e MYSQL_ROOT_PASSWORD=<DDL_USER_PASSWORD> -e MYSQL_DATABASE=masherysolar --name=CAMLEDB -p 63306:3306 -v <User/home/directory>/work/mysql-data:/var/lib/mysql -v </user/home/directory/work/cam-le-ga>/scripts/db:/docker-entrypoint-initdb.d mysql:8.4.2